 /*
 *服务器入口文件
 */
//express模块
const app = require('express')();
const router = require('./router.js');
//后端路由
app.use('/router',router);

//监听端口号
app.listen(3000,()=>{
	console.log('启动成功');
});

